package com.my.springframework.beans;

/**
 * @author sk
 * @since 2021-11-23
 **/
public class UserService {

    private String name;

    public UserService() {
    }

    public UserService(String name) {
        this.name = name;
    }

    public void queryUserInfo() {
        System.out.println("查询用户信息：" + name);
    }

    @Override
    public String toString() {
        return "" + "" + name;
    }

}
